package com.service;

import java.util.List;

import com.model.User;

public interface UserService {
	// add user
	public boolean addUser(User user);

	// delete user
	public boolean deleteUser(int id);

	// update user
	public boolean updateUser(User user, int id);

	// query user
	public List<?> selectUser();

	// validate user
	public User validateUser(String username,String password);
}
